package com.ls.lserp.modules.trade.dao;


import java.util.List;



import com.ls.lserp.common.persistence.CrudDao;

import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.material.entity.MaterialOutInbound;
import com.ls.lserp.modules.order.entity.AuditInfo;
import com.ls.lserp.modules.trade.entity.BookingOrders;
import com.ls.lserp.modules.trade.entity.ConsignmentNote;
import com.ls.lserp.modules.trade.entity.Enchase;
import com.ls.lserp.modules.trade.entity.HandBook;
import com.ls.lserp.modules.trade.entity.ShippingFormExcelEntity;


@MyBatisDao
public interface BookingOrdersDao extends CrudDao<BookingOrders> {
	
	//选择款式装箱单一览
	public List<Enchase> findpackingList(Enchase enchase);	
	//取得新建订舱单信息
	public List<BookingOrders> getBookingOrderByIndentId(BookingOrders bookingOrders);
	//添加订舱委托单
	public int insertBookingorders(BookingOrders bookingOrders);
	//更新状态
	public void updateBookingordersStatus(AuditInfo auditInfo);
	//ID查找
	public List<BookingOrders> findBookingByID(BookingOrders bookingOrders);
	//删除委托单
	public int deleteBookingorders(BookingOrders bookingOrders);
	//添加订舱委托单明细
	public int insertShippingDetails(BookingOrders bookingOrders);
	//提交订舱委托单
	public int commit(BookingOrders bookingOrders);
	//获取数据供导出使用
	public List<ShippingFormExcelEntity> findDataForExport(BookingOrders bookingOrders);
	
	
		
	

	

	

	
	
	
	
}
